﻿using System.Collections.Generic;
using UFSoft.UBF.MD;

namespace UFSoft.UBF.Cust.ClassView.MVC.Metedata
{
    public class TypeDTO : ElementDTO
    {
        public int ClassType { get; set; }
        public KeyDTO ParentKey { get; set; }
        public string FullName { get; set; }
        public string AssemblyName { get; set; }
        public KeyDTO ModuleKey { get; set; }
        //public KeyDTO ComponentKey { get; set; }
        public string ComponentName { get; set; }
        public EnumBEType MType { get; set; }
        public bool IsPrimitiveType { get; set; }
        public bool IsEntity { get; set; }
        public bool IsEnumType { get; set; }
        public bool IsPropertyType { get; set; }
        public bool IsCollectionType { get; set; }
        public bool IsOperator { get; set; }
        public bool IsValidator { get; set; }
        public bool IsEntityView { get; set; }
        public IList<AttributeDTO> Attributes { get; set; }
        public IList<AssociationDTO> Associations { get; set; }
        public IList<AssociationDTO> ChildAssociations { get; set; }
    }
}